package com.ruoyi.project.WebMoudle.shopMessage.service;

import java.util.List;
import com.ruoyi.project.WebMoudle.shopMessage.domain.ShopMessage;

/**
 * 商铺消息Service接口
 * 
 * @author ruoyi
 * @date 2020-09-09
 */
public interface IShopMessageService 
{
    /**
     * 查询商铺消息
     * 
     * @param id 商铺消息ID
     * @return 商铺消息
     */
    public ShopMessage selectShopMessageById(Long id);

    /**
     * 查询商铺消息列表
     * 
     * @param shopMessage 商铺消息
     * @return 商铺消息集合
     */
    public List<ShopMessage> selectShopMessageList(ShopMessage shopMessage);

    /**
     * 新增商铺消息
     * 
     * @param shopMessage 商铺消息
     * @return 结果
     */
    public int insertShopMessage(ShopMessage shopMessage);

    /**
     * 修改商铺消息
     * 
     * @param shopMessage 商铺消息
     * @return 结果
     */
    public int updateShopMessage(ShopMessage shopMessage);

    /**
     * 批量删除商铺消息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteShopMessageByIds(String ids);

    /**
     * 删除商铺消息信息
     * 
     * @param id 商铺消息ID
     * @return 结果
     */
    public int deleteShopMessageById(Long id);

    int addSomeMsg(List<ShopMessage> list);

    int myMessageCount(Long shopId);

    List<ShopMessage> queryMyMsgList(Long shopId);

    int markYiDu(Long smId);
}
